package com.dao;

import com.pojo.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CourseDao {
    int addCourse(Course course);

    int deleteCourseById(Long id);

    int updateCourse(Course course);

    Course queryById(Long id);

    List<Course> queryAllCourse();

    List<Course> getListById(Long id);

}
